<div class="form bootform">

    <header class="info" id="header" style="border-bottom: none ">
        <h2>Step 2: Complete your payment.</h2>
        <br />
        <div class="alert-message block-message info">                    
            <p>
                <strong>Congratulations! <?php echo $model->first_name . ' ' . $model->last_name; ?></strong> <br />You've successfully completed the first step of membership process.
            <ul>
                <li><label class="desc">Your Membership Code</label> <?php echo $model->code; ?></li>
                <li><label class="desc">Your Sponsor</label> <?php echo $model->introducer_id; ?>[<?php echo User::model()->find("introducer_id = :INTRO_ID", array(':INTRO_ID' => $model->introducer_id))->getFullName(); ?>]</li>
                <li><label class="desc">Account Create On</label> <?php echo $model->create_date; ?></li>
            </ul>
            </p>

            <div class="alert-actions">
                <a href="#" onclick="window.print()" id="print-page" class="btn small">Print this page.</a>
            </div>
        </div>                
    </header>

    <form class="wufoo">
        <ul>
            <li class="section">
                <h3>Your Up-Link Details</h3>     
            </li>
        </ul>
        <?php
        $dataProvider = $model->getUpLinks();
        $dataProvider = new CArrayDataProvider($dataProvider);
        ?>
        <?php
        $this->widget('zii.widgets.grid.CGridView', array(
            'id' => 'bank-grid',
            'dataProvider' => $dataProvider,
            'summaryCssClass' => 'breadcrumb',
            'columns' => array(
                'code',
                'bank_account.branch.bank.name',
                'bank_account.branch.name',
                'bank_account.acc_name',
                'bank_account.acc_no'
            ),
        ));
        ?>
    </form>
</div>